//
//  Color.m
//  04 - homeWork NSDictionary
//
//  Created by 韩旭 on 16/7/7.
//  Copyright © 2016年 基础. All rights reserved.
//

#import "Color.h"

@implementation Color

- (instancetype)initWithName:(NSString *)name ColorValue:(NSString *)colorValue {
    self = [super init];
    if (self) {
        _colorValue = colorValue;
        _name = name;
    }
    return self;
}
- (NSString *)description {
    return [NSString stringWithFormat:@"name = %@, colorValue = %@", _name, _colorValue];
}
- (void)showOut {
    NSLog(@"%@",self);
}

@end
